package com.akuhome.resource.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties(prefix = "url-mapping-action")
public class UrlRoleMappingAction {

    Map<String,String> mapping;

    public Map<String, String> getMapping() {
        return mapping;
    }

    public void setMapping(Map<String, String> mapping) {
        this.mapping = mapping;
    }

    @Override
    public String toString() {
        return "UrlRoleMapping{" +
                "mapping=" + mapping +
                '}';
    }
}
